package javaapplicationswing;


import java.util.logging.Level;
import java.util.logging.Logger;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author henrique
 */
public class T extends Thread{

    
    
    public void run()
    {
        try {
            Thread.sleep(2000);
            System.out.print("22222222");
        } catch (InterruptedException ex) {
            Logger.getLogger(T.class.getName()).log(Level.SEVERE, null, ex);
        }
        
    }        

 public static void main(String[] args)
 {
     Thread t = new Thread();
     t.start();
     
 }


}


